package com.ciko.code.adapter;

import android.content.Context;
import com.ciko.code.base.adapter.CommonAdapter;
import com.ciko.code.base.adapter.ViewHolder;
import com.ciko.code.bean.SelMeetingHistoryListEty;
import com.mywork.R;
import java.util.List;

/**
 * Created by 12154 on 2015/10/31.
 */
public class WorkMeetingMyLsitAdapter extends CommonAdapter<SelMeetingHistoryListEty> {

    public WorkMeetingMyLsitAdapter(Context context, List<SelMeetingHistoryListEty> mDatas, int itemLayoutId) {
        super(context, mDatas, itemLayoutId);
    }

    @Override
    public void convert(ViewHolder helper, SelMeetingHistoryListEty item) {
        helper.setText(R.id.tv_titleMeeting , item.getMeetingTitle());
        helper.setText(R.id.tv_timeMeeting , "时间：" + item.getMeetingTime());
        helper.setText(R.id.tv_addressMeeting ,"地点：" +  item.getMeetingAddress());
    }
}
